package com.bosssoft.service.impl;

import com.bosssoft.response.Result;
import com.bosssoft.service.FibBudgetFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author 项昊天
 * @create 2021/8/25 16:49
 */
@Slf4j
@Component
public class FibBudgetFeignServiceImpl implements FibBudgetFeignService {

  @Override
  public Result getBgtById(Long bgtId) {
    log.info("FibBudgetFeignService的getBgtById熔断了");
    return Result.error().message("FibBudgetFeignServiceFallback-getBgtById!");
  }
}
